export default {
	state: {
		img: "",
		lastLoginTime: null,
		name: "",
		username: "",
		usertype: "",
		id: ''
	},
	getters :{
		getImg(state){
			return state.img;
		}
	},
	mutations: {
		setUserState(state, payload) {
			state.img = payload.img
			state.lastLoginTime = payload.lastLoginTime
			state.name = payload.name
			state.username = payload.username
			state.usertype = payload.usertype
			state.id = payload.id
		}
	}
}